import { getUserInfoUrl } from "@/command/apiTool";
import { useDetail, useList } from "@/hooks";
import { getAction, postAction } from "@/command/netTool";
import { reactive, watch } from "vue";

export const useRequest = () => {
  const form = reactive({
    pageNo: 1,
  });
  //
  const [useHistoryList, useHistoryListControl] = useDetail(
    getUserInfoUrl({
      dh: "/api/H5/service/helpWork/heavy/useWorkNum",
      xh: "",
    }),
    0
  );

  return {
    useHistoryList,
    form,
  };
};
